Skip to content

Speedup share tests#60709

Open
icewind1991 wants to merge 8 commits into
masterfrom
test-speedup
Open

Speedup share tests#60709
icewind1991 wants to merge 8 commits into
masterfrom
test-speedup

Conversation

@icewind1991
Copy link
Copy Markdown
Member

  • Resolves: #

Summary

  • Mock OCM discovery
  • Better dummy user/group backend usage
  • don't trigger cache gc during tests
  • reduce number of filesystem setups

Reduces time to run the share tests by ~2/3 in my testing

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Robin Appelman <robin@icewind.nl>
saves ~50s while running tests

Signed-off-by: Robin Appelman <robin@icewind.nl>
saves ~5s

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added this to the Nextcloud 35 milestone May 23, 2026
@icewind1991 icewind1991 requested a review from a team as a code owner May 23, 2026 17:40
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label May 23, 2026
@icewind1991 icewind1991 requested review from Altahrim, ArtificialOwl, CarlSchwan and salmart-dev and removed request for a team May 23, 2026 17:40
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 changed the title Setup share tests Speedup share tests May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant